package com.bnz.entity;

import io.mybatis.provider.Entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
// 指明表名
@Entity.Table("classes")
public class Classes implements Serializable {
    @Entity.Column(id = true)
    private Integer cid;
    @Entity.Column
    private String cname;

}